Skip to content

Version Packages - #27

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

Version Packages#27
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@statelyai/graph@2.2.0

Minor Changes

  • e4a800e Thanks @davidkpiano! - Add immutable counterparts for graph CRUD, patch application, and layout geometry updates. These helpers return updated graph copies while leaving their input graphs untouched.

  • 7b5ac38 Thanks @davidkpiano! - Add graph-generic path-set and coverage utilities: path inspection and
    containment, coverage targets and coverage-preserving reduction, edge-covering
    path planning, ordered shortest simple paths, Eulerian paths/circuits, and line
    graph construction.

  • 97622b1 Thanks @davidkpiano! - New algorithms, public kernel, cancellation, and format fidelity:

    • New algorithms: isPlanar (left-right planarity test), getTSPTour
      (nearest-neighbor + 2-opt), getSteinerTree (metric-closure
      2-approximation), getGraphColoring/isValidColoring (Welsh–Powell and
      DSatur), genAllPairsShortestPaths (lazy gen twin of
      getAllPairsShortestPaths).
    • New generators: createWattsStrogatzGraph, createBarabasiAlbertGraph.
    • New @statelyai/graph/kernel subpath: getIndex, getCSR,
      invalidateIndex, and memoizeByGraph — the fast-path primitives for
      large graphs and third-party algorithm plugins.
    • Cancellation: expensive algorithms (centrality, community detection,
      max-flow, all-pairs paths, isomorphism, dominators) accept
      options.signal: AbortSignal.
    • Round-trip fidelity: DOT preserves graph attributes, node/edge
      defaults, rank=same, HTML labels, and compass points; Mermaid preserves
      %%{init}%% directives, click handlers, linkStyle (now index-stable),
      state notes, mindmap ::icon(), and block arrow tokens.
    • Fix: getAllPairsShortestPaths no longer overflows the call stack on
      graphs with a few hundred nodes.
    • Benchmarks: reproducible via pnpm bench:compare (--quick variant,
      JSON results, generated docs tables, fairness notes).

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 9e9296e to e1320d2 Compare June 12, 2026 01:41
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from e1320d2 to 4d37938 Compare July 23, 2026 23:30
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 4d37938 to 1987885 Compare July 28, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants